package com.inno.launcher.utils;


import com.inno.launcher.MyApp;
import com.inno.launcher.bean.EventMessage;
import com.inno.launcher.manager.AccountManager;
import com.vv.vv_commonlibrary.utils.SPUtil;

import org.greenrobot.eventbus.EventBus;


/**
 * 作者：huangxijun
 * 时间：2018/11/30.
 * 说明：将存在本地的数据清空
 */

public class DeleteUtils {
    public static void delete() {
//        MyApp.setToken("");
        AccountManager.getInstance().setToken("");
        EventBus.getDefault().post(new EventMessage(EventMessage.LOGIN_OUT));
        SPUtil.putString(MyApp.getContext(), "recruitJobDetailJson", "");




    }

}
